package cn.edu.neu.vmmigeval.cloud.config;

import cn.edu.neu.vmmigeval.cloud.entity.UtilizationModel;

/**
 * Created by yfwz100 on 16/2/25.
 */
public class CloudletRegistry {

    /**
     * 需要的总长度  mips
     */
    private long cloudletLength;

    /** The utilization of cpu  */
    private UtilizationModel cpuUtilizationModel;

    /** The utilization of memory  */
    private UtilizationModel ramUtilizationModel;

    /** The utilization of bw  */
    private UtilizationModel bwUtilizationModel;

    /** The utilization of disk  */
    private UtilizationModel diskUtilizationModel;




    public CloudletRegistry() {
    }

    public CloudletRegistry(long cloudletLength,
                            UtilizationModel cpuUtilizationModel,
                            UtilizationModel ramUtilizationModel,
                            UtilizationModel bwUtilizationModel,
                            UtilizationModel diskUtilizationModel) {
        super();
        this.cloudletLength = cloudletLength;
        this.cpuUtilizationModel = cpuUtilizationModel;
        this.ramUtilizationModel = ramUtilizationModel;
        this.bwUtilizationModel = bwUtilizationModel;
        this.diskUtilizationModel = diskUtilizationModel;
    }

    public long getCloudletLength() {
        return cloudletLength;
    }

    public void setCloudletLength(long cloudletLength) {
        this.cloudletLength = cloudletLength;
    }

    public UtilizationModel getCpuUtilizationModel() {
        return cpuUtilizationModel;
    }

    public void setCpuUtilizationModel(UtilizationModel cpuUtilizationModel) {
        this.cpuUtilizationModel = cpuUtilizationModel;
    }

    public UtilizationModel getRamUtilizationModel() {
        return ramUtilizationModel;
    }

    public void setRamUtilizationModel(UtilizationModel ramUtilizationModel) {
        this.ramUtilizationModel = ramUtilizationModel;
    }

    public UtilizationModel getBwUtilizationModel() {
        return bwUtilizationModel;
    }

    public void setBwUtilizationModel(UtilizationModel bwUtilizationModel) {
        this.bwUtilizationModel = bwUtilizationModel;
    }

    public UtilizationModel getDiskUtilizationModel() {
        return diskUtilizationModel;
    }

    public void setDiskUtilizationModel(UtilizationModel diskUtilizationModel) {
        this.diskUtilizationModel = diskUtilizationModel;
    }

}
